.com
Hosted by:
Unit testing expertise at your fingertips!
Home | Discuss | Lists

Test Refactorings

Recent Changes

Minimize Data Category: Test Refactorings 12 November 2004
We remove things from the fixture until we have a Minimal Fixture.
Inline Resource Category: Test Refactorings 12 November 2004
Move the contents of an external resource into the fixture setup logic of the test.
Make Resource Unique Category: Test Refactorings 12 November 2004
Make the name of any resources used by a test unique.
Replace Dependency with Test Double Category: Test Refactorings 12 November 2004
Break the dependency by replacing a depended-on component with a Test Double.
Extract Testable Component Category: Test Refactorings 14 April 2004
Extract the logic you want to test into a separate component that is designed for testability and is independent of the context in which it is run.
Setup External Resource Category: Test Refactorings 14 April 2004
Create an external resource within the fixture setup logic of the test rather than using a predefined resource.

Page generated at Wed Feb 09 16:39:55 +1100 2011

Copyright © 2003-2008 Gerard Meszaros all rights reserved

All Categories
Introductory Narratives
Web Site Instructions
Code Refactorings
Cross References & Lists
Database Patterns
DfT Patterns
External Patterns
Fixture Setup Patterns
Fixture Teardown Patterns
Front Matter
Glossary
Misc
References
Result Verification Patterns
Sidebars
Terminology
Test Double Patterns
Test Organization
Test Refactorings
Test Smells
Test Strategy
Tools
Value Patterns
XUnit Basics
xUnit Members
All "Test Refactorings"
Extract Testable Component
Inline Resource
Make Resource Unique
Minimize Data
Replace Dependency with Test Double
Setup External Resource